﻿@model List<BMS.Models.InvoiceItemModel>

@{
    ViewBag.Title = "Invoice Not Successful";
}

@section featured {
    <section class="featured">
        <div class="content-wrapper" align="center">
            <hgroup class="title">
                <h1>@ViewBag.Message</h1>
            </hgroup>
        </div>
    </section>
}

@*<section>*@
<h2>New Invoice Confirmation - Created Successfully</h2>
<br align="center" />
<table align="center" border="1">
    <tr>
        <td align="center"><span style="font-weight:bold">Invoice No</span></td>
        <td align="center">@Model[0].InvoiceNo</td>
    </tr>
    <tr>
        <td align="center"><span style="font-weight:bold">Quotation No(s)</span></td>
        <td align="center">
            @for (int i = 0; i < @Model.Count; i++)
            {
                @Model[i].QuotationNo
                <br />
            }
        </td>
    </tr>
</table>
@*</section>*@

<section>
    @using (Html.BeginForm("BackToMainMeun", "Home"))
    {
        <br />
        <input type="submit" value="Back To Main Menu" />
    }
</section>

